package com.yh.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yuanhao
 * @version 1.0
 * @description
 * @email yuanhao@yinhai.com
 * @date 2022/4/14 11:12
 */
@RequestMapping("/api")
@RestController
public class MyTestController {
    @GetMapping("/test")
    public String test(){
        System.out.println("test");
        return "test";
    }
}
